package com.learn.service.impl;

import com.github.pagehelper.PageInfo;
import com.learn.dto.Role;

import java.time.LocalDateTime;
import java.util.List;

public interface RoleServiceImpl {
    List<Role> findAll();
    Integer insert(Role role);
    Integer update(Role role);
    PageInfo<Role> getPage(int pageNum, int pageSize, String name, LocalDateTime beginTime, LocalDateTime endTime);

    int delete(Integer id);
    int deletes(List<Integer> ids);




}
